#ifndef AnimMontage_P_H
#define AnimMontage_P_H

#include <QMutex>
#include <QString>
#include <QList>
#include <QVector3D>

#include "PoseNode.h"

#include <private/qssgassetimportmanager_p.h>
#include <private/qssgscenedesc_p.h>
#include <private/qssgqmlutilities_p.h>
#include <private/qssgrtutilities_p.h>

class AnimMontage;
class PoseNode;


class AnimMontagePrivate
{
public:
    AnimMontagePrivate(AnimMontage* _Q):_Q(_Q){

    }


    AnimMontage* _Q;
    QMutex m_mutex;
};

class AnimSourcePrivate{
public:
    ~AnimSourcePrivate(){
        cleanData();
    }

    void cleanData(){
        if(scene)
        {
            scene->cleanup();
            delete scene;
            scene = nullptr;
        }
    }

    QSSGSceneDesc::Scene* scene = nullptr;
    Pose baseEntrys;//基本姿态
    QMutex mutex;
};

#endif
